package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the per_cwa_qts database table.
 * 
 */
@Entity
@Table(name="per_cwa_qts")
@NamedQuery(name="PerCwaQts.findAll", query="SELECT p FROM PerCwaQts p")
public class PerCwaQts implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int qtsid;

	private String qtsrem;

	private String qtsstat;

	@Temporal(TemporalType.DATE)
	private Date qtstime;

	//bi-directional many-to-one association to PerCwaCwas
	@ManyToOne
	@JoinColumn(name="CWASID")
	private PerCwaCwas perCwaCwa;

	//bi-directional many-to-one association to PerCwaRsn
	@ManyToOne
	@JoinColumn(name="RSNID")
	private PerCwaRsn perCwaRsn;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerCwaQts() {
	}

	public int getQtsid() {
		return this.qtsid;
	}

	public void setQtsid(int qtsid) {
		this.qtsid = qtsid;
	}

	public String getQtsrem() {
		return this.qtsrem;
	}

	public void setQtsrem(String qtsrem) {
		this.qtsrem = qtsrem;
	}

	public String getQtsstat() {
		return this.qtsstat;
	}

	public void setQtsstat(String qtsstat) {
		this.qtsstat = qtsstat;
	}

	public Date getQtstime() {
		return this.qtstime;
	}

	public void setQtstime(Date qtstime) {
		this.qtstime = qtstime;
	}

	public PerCwaCwas getPerCwaCwa() {
		return this.perCwaCwa;
	}

	public void setPerCwaCwa(PerCwaCwas perCwaCwa) {
		this.perCwaCwa = perCwaCwa;
	}

	public PerCwaRsn getPerCwaRsn() {
		return this.perCwaRsn;
	}

	public void setPerCwaRsn(PerCwaRsn perCwaRsn) {
		this.perCwaRsn = perCwaRsn;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}